﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="DirectProcess.aspx.cs" Inherits="NewGlobalBizAssist.DirectProcess" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
      $(function () {
          $("#MainContent_txtdtfrom").datepicker({
              changeMonth: true,
              changeYear: true
          });
          $("#MainContent_txtdtto").datepicker({
              changeMonth: true,
              changeYear: true
          });
      });
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="hdr"><p>Process Direct Referral</p></div>
<div id="selection">
 Date From :<asp:TextBox ID="txtdtfrom" runat="server"></asp:TextBox>&nbsp;
 Date To :<asp:TextBox ID="txtdtto" runat="server"></asp:TextBox>
 <asp:Button ID="btn" runat="server" Text="Process" onclick="btn_Click" />
</div>
    <div id="main">
      <asp:Label ID="lblTbl" runat="server"></asp:Label>
      <asp:GridView ID="gvMembers" runat="server" AutoGenerateColumns="False" BackColor="White"  
BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
            ShowFooter="True"> 
<RowStyle BackColor="White" ForeColor="#003399" /> 
    <Columns>
                    <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="chkStatus" runat="server" />
                    </ItemTemplate>                    
                </asp:TemplateField>
        <asp:TemplateField HeaderText="Member ID" SortExpression="AgentId">
            <ItemTemplate>
                <asp:HyperLink ID="link1" runat="server" Text='<%# Bind("MemberId") %>'/>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="MemberName" HeaderText="Member" ReadOnly="True"  
            SortExpression="MemberName" /> 
        <asp:BoundField DataField="MemberPlan" HeaderText="Member Plan" ReadOnly="True"/>
        <asp:BoundField DataField="DateRegistered" HeaderText="Date Registered" ReadOnly="True"/>
    </Columns> 
    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" /> 
    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" /> 
    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" /> 
    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" /> 
    </asp:GridView>
    <asp:Button ID="btnProcess" runat="server" Text="Process Selected Records" 
            onclick="btn_Click_Process" />
    </div>
</asp:Content>
